package com.itheima.stock.exception;

import com.itheima.stock.enums.Code;
/**
 * @author by wym
 * @ Date 2021/12/27
 * @ Description
 */
public class Exceptions {
    public static void cast(Code code){
        throw new StockException(code);
    }
    //构造私有化
    public Exceptions() {

    }
}
